package com.ruoyi.basedata.service;

import java.util.List;

import com.ruoyi.basedata.domain.Collector;
import com.ruoyi.basedata.domain.ElectricityCollector;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.basedata.domain.ElectricityConcentrator;

/**
 * 电-采集器管理Service接口
 * 
 * @author gdqt
 * @date 2025-03-10
 */
public interface IElectricityCollectorService extends IService<ElectricityCollector>
{
    List<ElectricityCollector> getCollectorList(ElectricityCollector collector,Long[] concentratorIds);

    ElectricityCollector getCollectorById(Long id);

    Boolean insertCollector(ElectricityCollector collector);

    Boolean updateCollector(ElectricityCollector collector);

    Boolean deleteCollector(Long id);

    List<ElectricityCollector> getCollectorByConcentratorId(Long concentratorId);
    /**
     * 导入采集器
     * @param list 采集器list
     */
    void importData(List<ElectricityCollector> list);
}
